--TEST--
Check for jsonschema  generate string
--SKIPIF--
<?php
if (!extension_loaded("jsonschema")) {
    print "skip";
}
?>
--FILE--
<?php
/* test string generate */
$value = 'test string';
$jsonSchema = new JsonSchema(json_encode($value));
echo assert('{"type":"string","format":"regex","pattern":"\/^[a-z0-9]+$\/i","minLength":0,"maxLength":2147483647}' == $jsonSchema->getSchema());
?>
--EXPECT--
1